package thread;

public class Test {
	public static void main(String[] args) {
		//MyThread t = new MyThread();
		
		//t.start();
		//t.run();
		
		MyRunable r = new MyRunable();
		
		Thread t1 = new Thread(r);
		System.out.println("Thread 1: " + t1.MAX_PRIORITY);
		
		Thread t2 = new Thread(r);
		System.out.println("Thread 2: " + t2.getId());
		
		Thread t3 = new Thread(r);
		System.out.println("Thread 3: " + t3.getId());
		
		t1.start();
		t2.start();
		t3.start();
	}

}
